package net.yambal.RTM.Event
{
	import flash.events.Event;
	
	import net.yambal.RTM.Items.RTMContact;
	import net.yambal.RTM.Items.RTMTransaction;

	public class ContactsEvent extends Event
	{
		public static const GET_LIST:String = "get_list";
		public static const ADD:String = "add";
		public static const DELETE:String = "delete";
		
		public var contacts:Array;
		public var contact:RTMContact;
		public var transaction:RTMTransaction;
		
		public function ContactsEvent(type:String, contacts:Array = null, contact:RTMContact = null, transaction:RTMTransaction = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.contact = contact;
			this.contacts = contacts;
			this.transaction = transaction;
		}
		
	}
}